import WHFormMaking from './packages/whMakingForm.js';
import WHForm from './packages/whForm.js';

const components = [
  WHFormMaking,
  WHForm
]

const install = (Vue) => {
  if (install.installed) return
  install.installed = true
  components.forEach(component => {
    Vue.component(component.name, component);
  });

};
/* istanbul ignore if */
if (typeof window !== 'undefined' && window.Vue) {
  install(window.Vue);
}

export const whFormMaking = WHFormMaking

export const whForm = WHForm

export default {
  install,
  WHFormMaking,
  WHForm
}

